Skip to content

doc: before-requesting-review checklist (AGENTS.md + ErdosProblems README)#4378

Open
williamjblair wants to merge 4 commits into
google-deepmind:mainfrom
williamjblair:doc/erdos-review-checklist
Open

doc: before-requesting-review checklist (AGENTS.md + ErdosProblems README)#4378
williamjblair wants to merge 4 commits into
google-deepmind:mainfrom
williamjblair:doc/erdos-review-checklist

Conversation

@williamjblair

@williamjblair williamjblair commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Puts the recurring review corrections into the two files authors and their agents already read:

Every line traces to a real review comment on a merged PR. Doc-only; follows up on the Zulip discussion about making the repetitive half of review a checklist authors and their agents tick off.

cc @mo271

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

👋 This is an automated welcome message. 🤖
Thanks for the contributions!

A few friendly reminders while the review gets started:

  • Please take a look at the style guidelines,
    especially the conventions for references, categories, AMS tags, and answer(sorry).
  • You can manage some PR labels by leaving a comment with +label-name or -label-name; for example, +awaiting-author or -awaiting-author.
  • This repository is mainly for formalised statements. Proofs longer than about 25-50 lines are usually out of scope; longer proofs are welcome to be included/linked via the formal_proof mechanism.

Thanks again for helping improve Formal Conjectures.

@github-actions github-actions Bot added the erdos-problems Erdős Problems label Jul 2, 2026
@williamjblair williamjblair marked this pull request as draft July 2, 2026 22:16
@williamjblair williamjblair changed the title doc(ErdosProblems/README): add a before-requesting-review checklist doc: author checklist — PR template, AGENTS.md rules, ErdosProblems README Jul 3, 2026
@williamjblair williamjblair changed the title doc: author checklist — PR template, AGENTS.md rules, ErdosProblems README doc: before-requesting-review checklist (AGENTS.md + ErdosProblems README) Jul 3, 2026
@williamjblair williamjblair marked this pull request as ready for review July 4, 2026 17:47

@mo271 mo271 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
Added a few suggestion for improvement.

Comment on lines +64 to +68
3. **Search before defining.** Check `FormalConjecturesForMathlib` and
neighboring problem files for existing definitions, API, and notation
before introducing your own. If something you need seems generally useful,
it belongs in `FormalConjecturesForMathlib`, not inlined in the problem
file.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sould go to AGENTS.md: it is not ErdosProblems specific

Comment on lines +69 to +71
4. **Keep commentary out of the Lean file.** Notes to reviewers, formalization
choices, and caveats belong in the pull request description, not the
source.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also should go to AGENTS.md

Comment on lines +72 to +73
5. **Use LaTeX, not backticks, for mathematics in docstrings.** See
`AGENTS.md` for the exceptions on the Lean-API side.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not worth repeating here?

Comment on lines +74 to +75
6. **Add sanity tests for new definitions.** A nontrivial definition should
come with at least one `@[category test]` statement exercising it.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also should go to AGENTS.

Comment thread AGENTS.md Outdated
- [ ] Docstrings present for main definitions
- [ ] `research open`, `textbook` and `research solved` docstrings include a concise description
- [ ] Code properly formatted and readable
- [ ] Searched `FormalConjecturesForMathlib` and neighboring files for existing definitions, API, and notation before adding new ones

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [ ] Searched `FormalConjecturesForMathlib` and neighboring files for existing definitions, API, and notation before adding new ones
- [ ] Searched mathlib and `FormalConjecturesForMathlib` and neighboring files for existing definitions, API, and notation before adding new ones

Comment thread AGENTS.md Outdated
- [ ] `research open`, `textbook` and `research solved` docstrings include a concise description
- [ ] Code properly formatted and readable
- [ ] Searched `FormalConjecturesForMathlib` and neighboring files for existing definitions, API, and notation before adding new ones
- [ ] Notes to reviewers (formalization choices, caveats) are in the PR description, not the Lean file

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [ ] Notes to reviewers (formalization choices, caveats) are in the PR description, not the Lean file
- [ ] Notes to reviewers (formalization choices, caveats, AI support used) are in the PR description, not the Lean file

Comment thread AGENTS.md Outdated
- Add large proofs (this is a benchmark repository, not a proof repository)
- Use camelCase for theorem names
- Create placeholder definitions in FormalConjecturesForMathlib/
- Redefine notation or API that already exists in `FormalConjecturesForMathlib` or a neighboring problem file

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Redefine notation or API that already exists in `FormalConjecturesForMathlib` or a neighboring problem file
- Redefine notation or API that already exists in mathlib, `FormalConjecturesForMathlib` or a neighboring problem file

Comment on lines +69 to +70
4. **Keep commentary out of the Lean file.** Notes to reviewers, formalization
choices, and caveats belong in the pull request description, not the

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some formalisation choices are probably good to keep in the docstrings/comments

…specific items in the README

- AGENTS.md: search mathlib too, add 'AI support used', include mathlib in the redefine-notation pitfall (mo271's suggestions)
- ErdosProblems/README: drop the general checklist items (search-before-defining, commentary-out-of-Lean, LaTeX-not-backticks, sanity-tests); they live in AGENTS.md. Keep the two erdosproblems.com-specific ones and link the general checklist.
@williamjblair

Copy link
Copy Markdown
Contributor Author

Thanks! Applied all three AGENTS.md suggestions, and moved the general items out of the ErdosProblems README (they're covered by the Quality Checklist) so only the erdosproblems.com-specific ones remain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

erdos-problems Erdős Problems

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants